//
//  MMenu.h
//  nncloud
//
//  Created by 朵 on 2019/3/19.
//  Copyright © 2019年 macfai. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^selectRowBlock)(NSString *row);

@interface MMenu : UIView

//@property(nonatomic,copy)void (^selectRowBlock)(NSString *row);
@property (nonatomic,copy)selectRowBlock selectRowBlock;

//点击空白部分隐藏
@property (nonatomic, assign) BOOL closeOnTouchUpOutside;

-(instancetype)initCustomImageArray:(NSArray *)imageArr textArray:(NSArray *)textArr selfFrame:(CGRect)frame;

- (void)show;
- (void)hide;
@end

NS_ASSUME_NONNULL_END
